package com.woniuxy.dr_mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.dr_mall.entity.DrCommentInfo;
import com.woniuxy.dr_mall.entity.DrComment;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 张哲轩
 * @since 2021-08-11
 */
public interface IDrCommentService extends IService<DrComment> {
    List<DrCommentInfo> getNotComment(Integer userId);

    List<DrComment> getCommentByUserId(Integer userId);

    void delById(Integer id);

    void add(DrComment drComment);

    int getNotCommentCount(int userId);

    List<DrComment> getProductCommentByPId(int pid);
}
